package com.dgyt.contract.msg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author SQ
 * @since 2020-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dgMsgUser")
//@ApiModel(value="DgMsgUser对象", description="")
public class DgMsgUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //    @ApiModelProperty(value = "用户唯一登录名称")
    @TableField("loginName")
    private String loginName;

    //    @ApiModelProperty(value = "消息id")
    @TableField("msgId")
    private Integer msgId;

    //    @ApiModelProperty(value = "用户是否查看")
    @TableField("user_Vew")
    private String userVew;

    //    @ApiModelProperty(value = "查看时间")
    @TableField("viewTime")
    private LocalDateTime viewTime;


}
